@import "../../public/css/custom_body.css";

.layui-card {
    margin-bottom: 0px;
}
.div-main{
    /*height: calc(100% - 52px);*/
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.layui-card-useradd{
    width: calc(100% - 64.5%);
}
.layui-card-usertable{
    height: 100%;
    width: calc(100% - 36%);
}

.div-useradd-from{
    width: 100%;
    height: 100%;
    padding: 10px;
}

.password-input-block{
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.password-input-block > input{
    width: calc(100% - 160px);
}
.password-input-block > span{
    width: 150px;
    margin-left: 10px;
    color: red;
}
.btn-block{
    width: 100%;
    margin-left: 0px !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.useradd-form .layui-form-item .layui-form-label{
    width: 90px;
    padding: 10px 5px
}
.useradd-form .layui-form-item .layui-input-block{
    margin-left: 90px;
}
.layui-form .layui-form-item .layui-form-label > span{
    color: red;
}


.layui-form-item .layui-input-inline {
    width: 50%;
}

.table-form{
    display: flex;
    align-items: center;
}
.layui-table-page>div {
    float: right;
}
.layui-table th {
    font: 14px "Helvetica Neue", Helvetica, "PingFang SC", 微软雅黑, Tahoma, Arial, sans-serif;
    font-weight:bold;
}
.span-title{
    font: 14px "Helvetica Neue", Helvetica, "PingFang SC", 微软雅黑, Tahoma, Arial, sans-serif;
    font-weight:bold;
    color: #ffffff;
}
.add-but-open{
    width: 500px;
    height: 300px;
}
.add-but-open .layui-layer-content{
    height: calc(100% - 78px) !important;
}
/*min-width 大于，max-width 小于*/
@media screen and (max-width: 1035px){
    .div-main{
        height: calc(100% - 52px);
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .layui-card-useradd{
        height: 100%;
        width: 100%;

    }
    .layui-card-usertable{
        height: 100%;
        width: 100%;
        margin-top: 10px;
    }
    .password-input-block > input{
        width: calc(100% - 165px) !important;
    }
    .password-input-block > span{
        width: 145px !important;
        margin-left: 10px !important;

    }
}
@media screen and (max-width: 1250px){
    .password-input-block > input{
        width: 100%;
    }
    .password-input-block > span{
        width: 180px;
        margin-left: 0px;
    }
}
@media screen and (max-height: 305px){
    .add-but-open{
        width: 500px;
        height: 98%;
    }
}


.layui-layer-btn .layui-layer-btn0{
    border-color: #f2f2f2 !important;
    background-color: #fbfbfb !important;
    color: #393d49 !important;
}

.layui-layer-btn a {

    border: 1px solid #01aaed !important;
    background-color: #01aaed !important;
    color: #fff !important;
}
